<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
    <h:head>
        <title>Facelet Title</title>
    </h:head>

    <h:body>

        <ui:composition template="./templates/templateNCS.xhtml">

            <ui:define name="top">
                Página de autenticação
            </ui:define>            

            <ui:define name="content">            
                <p>Introduza as suas credenciais:</p>
                <form method="post" action="j_security_check">
                    <h:panelGrid columns="2">
                        <h:outputLabel for="j_username" value="Utilizador: " />
                        <input type="text" name="j_username" />

                        <h:outputLabel for="j_password" value="Palavra passe: " />
                        <input type="secret" name="j_password" />

                    </h:panelGrid>
                    <br></br>
                    <h:panelGrid columns="3">
                        <input type="submit" name="submit" value="Entrar" />
                        <input type="reset" value="Limpar"/>
                        <h:button outcome="index" value="Cancelar" />
                    </h:panelGrid>

                </form>

            </ui:define>        

        </ui:composition>        

    </h:body>
</html>

